import { _decorator, Component, Node } from 'cc';
import BaseUI from '../../framwork/BaseUI';
const { ccclass, property } = _decorator;

@ccclass('pfab_tujian')
export class pfab_tujian extends BaseUI {
    BaseUIonLoad(): void {
        console.log(this.data);
    }
    BaseUIonDestroy(): void {

    }
    onBtn_click(target, onBtn_name): void {
        switch (onBtn_name) {
            case "btn_closeUI":
                console.log("关闭")
                this.closeUI();
                break;
        }
    }
    data: any;
    start() { 

    }

    update(deltaTime: number) {
        
    }
}


